<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css"  href="/styles/general.css"/>
<link rel="stylesheet" type="text/css" href="/styles/main.css"/>
<link rel="stylesheet" type="text/css" href="/styles/validator.css"/>
<script src="/js/jquery-1.3.2.min.js" type="text/javascript"></script>
<script src="/js/json2.js" type="text/javascript"></script>
<script src="/js/formValidator.js" type="text/javascript"></script>
<script src="/js/formValidatorRegex.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function(){
	$("#x").hide();
	$("[name='stype']").bind('click', function(event) {
		if($(this).val()=="2"){
			$("#x").show();
		}else{
			$("#x").hide();
		}
	});
});
function go(){
	var fo = $("#myform").serializeArray();
	var s = JSON.stringify(fo);
	opener.jsonsearch(s);
	self.close();
}
</script>
<title></title>
</head>
<body>
<div class="main-div">
  <form action="" method="post" name="myform" id="myform" enctype="multipart/form-data">
  <table width="100%" id="table_form">
     <tr>     
     	<td rowspan="11">
			{form chem * mol mol}
			<div id="cheminfo" style="display:none"> </div>
        </td>
        <td class="labelsearch">CAS No.：</td>
        <td>{form text * casno casno}
        	
        </td>
      </tr>
      <tr>
        <td class="labelsearch">内部编号：</td>
        <td>
			{form text * compoundno compoundno}
        </td>
      </tr>
      <tr>
        <td class="labelsearch">中文名：</td>
        <td>
			{form text * compoundname compoundname}
        </td>
      </tr>
      <tr>
        <td class="labelsearch">英文名：</td>
        <td>
			{form text * compoundnameen compoundnameen}
        </td>
      </tr>
      <tr>
        <td class="labelsearch">分子式：</td>
        <td>
			{form text * formula formula}
        </td>
      </tr>
      <tr>
        <td class="labelsearch">分子量：</td>
        <td>
			{form text * molecularweightl molecularweightl * * * 9}-{form text * molecularweighth molecularweighth * * * 9}

        </td>
      </tr>
      <tr>
        <td class="labelsearch">项目名称：</td>
        <td>
			{form text * projectname projectname}
        </td>
      </tr>
       <tr>
        <td class="labelsearch">项目编号：</td>
        <td>
			{form text * projectid projectid}
        </td>
      </tr>
      <tr>
        <td class="labelsearch">客户名称：</td>
        <td>
			{form text * customername customername}
        </td>
      </tr>
       <tr>
        <td class="labelsearch">客户代码：</td>
        <td>
			{form text * customercode customercode}
        </td>
      </tr>
      <tr>
        <td class="labelsearch">项目负责部门：</td>
        <td>
			{form text * department department}
        </td>
      </tr>
       <tr>
       	<td>
       		{form radio * stype stype 1 * * $stype}{form text * x x 0.8}
        </td>
        <td class="labelsearch">项目负责人：</td>
        <td>
			{form text * dutyperson dutyperson}
        </td>
      </tr>
      </table>  
   <div class="button-div">
        <input type="submit" onclick="go();return false;" value="&nbsp;检&nbsp;索&nbsp;" />
        &nbsp;&nbsp;&nbsp;&nbsp;
        <input type="reset" value="&nbsp;重&nbsp;置&nbsp;" />
   </div>
  </form>
</div>
</body>
</html>
